package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新增参赛项目对象 cp_project
 * 
 * @author zhangjinlei
 * @date 2022-05-12
 */
public class CpProject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 备注 */
    private String extField;

    /** 备注子段1 */
    private String extField1;

    /** 备注子段2 */
    private String extField2;

    /** 是否删除 0-未删除 ，1-已删除 */
    private Integer isDeleted;

    /** 创建人ID */
    private Long createUserid;

    /** 创建人姓名 */
    private String createUsername;

    /** 服务器IP */
    private String serverIp;

    /** 最后修改人ID */
    private Long updateUserid;

    /** 最后修改人姓名 */
    private String updateUsername;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setExtField(String extField) 
    {
        this.extField = extField;
    }

    public String getExtField() 
    {
        return extField;
    }
    public void setExtField1(String extField1) 
    {
        this.extField1 = extField1;
    }

    public String getExtField1() 
    {
        return extField1;
    }
    public void setExtField2(String extField2) 
    {
        this.extField2 = extField2;
    }

    public String getExtField2() 
    {
        return extField2;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setCreateUserid(Long createUserid) 
    {
        this.createUserid = createUserid;
    }

    public Long getCreateUserid() 
    {
        return createUserid;
    }
    public void setCreateUsername(String createUsername) 
    {
        this.createUsername = createUsername;
    }

    public String getCreateUsername() 
    {
        return createUsername;
    }
    public void setServerIp(String serverIp) 
    {
        this.serverIp = serverIp;
    }

    public String getServerIp() 
    {
        return serverIp;
    }
    public void setUpdateUserid(Long updateUserid) 
    {
        this.updateUserid = updateUserid;
    }

    public Long getUpdateUserid() 
    {
        return updateUserid;
    }
    public void setUpdateUsername(String updateUsername) 
    {
        this.updateUsername = updateUsername;
    }

    public String getUpdateUsername() 
    {
        return updateUsername;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("extField", getExtField())
            .append("extField1", getExtField1())
            .append("extField2", getExtField2())
            .append("isDeleted", getIsDeleted())
            .append("createUserid", getCreateUserid())
            .append("createUsername", getCreateUsername())
            .append("createTime", getCreateTime())
            .append("serverIp", getServerIp())
            .append("updateUserid", getUpdateUserid())
            .append("updateUsername", getUpdateUsername())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
